# userinput.py
try:
    user_input = input("prompt: ")
    # We need a way to pass the input back to the agent.
    # Printing it to stdout is a good way.
    # Let's use a clear format.
    print(f"---USER_INPUT_START---\n{user_input}\n---USER_INPUT_END---")
except EOFError:
    print("---USER_INPUT_START---\n__EOF__\n---USER_INPUT_END---")
